home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / Graphic Elements 3 / GEQTHack / GEBalls.h < prev    next >
Text File  |  1995-06-10  |  650b  |  44 lines

  1. /*
  2.     GEBalls.h
  3.     
  4.     Balls for GEQDHack
  5.     
  6.     6/10/95
  7.     
  8.     Al Evans
  9.     
  10. */
  11.  
  12. #include "GraphElements.h"
  13.  
  14. #define        rRedBall    401
  15. #define        rBlueBall    403
  16.  
  17. #define        redBallPlane    400
  18. #define        blueBallPlane    300
  19.  
  20. #define        firstRBID        'RBL\0'
  21. #define        firstBBID        'BBL\0'
  22.  
  23. #define        rBallSnd        400
  24.  
  25. #define        numberOfBalls    3
  26.  
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30.  
  31. Boolean InitBallGraphics(GEWorldPtr world);
  32.  
  33. // Ball's autochange proc
  34.  
  35. pascal void DoBallRandom(GEWorldPtr world, GrafElPtr obj);
  36.  
  37. // Ball's collision proc
  38. pascal void DoBallCollide(GEWorldPtr world, GrafElPtr ball, 
  39.                     GEDirection dir, CollisionPhase phase, GrafElPtr objHit);
  40.  
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44.